package com.htc.android.footprints;

import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;

public abstract interface ILocationAgentService extends IInterface {
	public abstract void continueTracking() throws RemoteException;

	public abstract void enableMyLocation() throws RemoteException;

	public abstract boolean isTimeout() throws RemoteException;

	public abstract boolean isTracking() throws RemoteException;

	public abstract void registerCallback(
			ILocationAgentCallback paramILocationAgentCallback)
			throws RemoteException;

	public abstract boolean removeCallback(
			ILocationAgentCallback paramILocationAgentCallback)
			throws RemoteException;

	public abstract void resume() throws RemoteException;

	public abstract void setTimeout(long paramLong) throws RemoteException;

	public abstract void setTimeoutNotify(boolean paramBoolean)
			throws RemoteException;

	public abstract void shutdownAgent() throws RemoteException;

	public abstract void stopTracking() throws RemoteException;

	public abstract void stopTrackingWithoutNotify() throws RemoteException;

	public abstract void waitForPause() throws RemoteException;

	public static abstract class Stub extends Binder implements
			ILocationAgentService {
		private static final String DESCRIPTOR = "com.htc.android.footprints.ILocationAgentService";
		static final int TRANSACTION_continueTracking = 9;
		static final int TRANSACTION_enableMyLocation = 10;
		static final int TRANSACTION_isTimeout = 2;
		static final int TRANSACTION_isTracking = 1;
		static final int TRANSACTION_registerCallback = 12;
		static final int TRANSACTION_removeCallback = 13;
		static final int TRANSACTION_resume = 7;
		static final int TRANSACTION_setTimeout = 11;
		static final int TRANSACTION_setTimeoutNotify = 3;
		static final int TRANSACTION_shutdownAgent = 8;
		static final int TRANSACTION_stopTracking = 5;
		static final int TRANSACTION_stopTrackingWithoutNotify = 4;
		static final int TRANSACTION_waitForPause = 6;

		public Stub() {
			attachInterface(this,
					"com.htc.android.footprints.ILocationAgentService");
		}

		public static ILocationAgentService asInterface(IBinder paramIBinder) {
			Object localObject;
			if (paramIBinder == null)
				localObject = null;
			while (true) {
				return localObject;
				IInterface localIInterface = paramIBinder
						.queryLocalInterface("com.htc.android.footprints.ILocationAgentService");
				if ((localIInterface != null)
						&& ((localIInterface instanceof ILocationAgentService))) {
					localObject = (ILocationAgentService) localIInterface;
					continue;
				}
				localObject = new Proxy(paramIBinder);
			}
		}

		public IBinder asBinder() {
			return this;
		}

		public boolean onTransact(int paramInt1, Parcel paramParcel1,
				Parcel paramParcel2, int paramInt2) throws RemoteException {
			boolean bool2;
			switch (paramInt1) {
			default:
				bool2 = super.onTransact(paramInt1, paramParcel1, paramParcel2,
						paramInt2);
			case 1598968902:
			case 1:
			case 2:
			case 3:
			case 4:
			case 5:
			case 6:
			case 7:
			case 8:
			case 9:
			case 10:
			case 11:
			case 12:
				while (true) {
					return bool2;
					paramParcel2
							.writeString("com.htc.android.footprints.ILocationAgentService");
					bool2 = true;
					continue;
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					boolean bool5 = isTracking();
					paramParcel2.writeNoException();
					if (bool5)
						;
					for (int k = 1;; k = 0) {
						paramParcel2.writeInt(k);
						bool2 = true;
						break;
					}
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					boolean bool4 = isTimeout();
					paramParcel2.writeNoException();
					if (bool4)
						;
					for (int j = 1;; j = 0) {
						paramParcel2.writeInt(j);
						bool2 = true;
						break;
					}
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					if (paramParcel1.readInt() != 0)
						;
					for (boolean bool3 = true;; bool3 = false) {
						setTimeoutNotify(bool3);
						paramParcel2.writeNoException();
						bool2 = true;
						break;
					}
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					stopTrackingWithoutNotify();
					paramParcel2.writeNoException();
					bool2 = true;
					continue;
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					stopTracking();
					paramParcel2.writeNoException();
					bool2 = true;
					continue;
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					waitForPause();
					paramParcel2.writeNoException();
					bool2 = true;
					continue;
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					resume();
					paramParcel2.writeNoException();
					bool2 = true;
					continue;
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					shutdownAgent();
					paramParcel2.writeNoException();
					bool2 = true;
					continue;
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					continueTracking();
					paramParcel2.writeNoException();
					bool2 = true;
					continue;
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					enableMyLocation();
					paramParcel2.writeNoException();
					bool2 = true;
					continue;
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					setTimeout(paramParcel1.readLong());
					paramParcel2.writeNoException();
					bool2 = true;
					continue;
					paramParcel1
							.enforceInterface("com.htc.android.footprints.ILocationAgentService");
					registerCallback(ILocationAgentCallback.Stub
							.asInterface(paramParcel1.readStrongBinder()));
					paramParcel2.writeNoException();
					bool2 = true;
				}
			case 13:
			}
			paramParcel1
					.enforceInterface("com.htc.android.footprints.ILocationAgentService");
			boolean bool1 = removeCallback(ILocationAgentCallback.Stub
					.asInterface(paramParcel1.readStrongBinder()));
			paramParcel2.writeNoException();
			if (bool1)
				;
			for (int i = 1;; i = 0) {
				paramParcel2.writeInt(i);
				bool2 = true;
				break;
			}
		}

		private static class Proxy implements ILocationAgentService {
			private IBinder mRemote;

			Proxy(IBinder paramIBinder) {
				this.mRemote = paramIBinder;
			}

			public IBinder asBinder() {
				return this.mRemote;
			}

			public void continueTracking() throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					this.mRemote.transact(9, localParcel1, localParcel2, 0);
					localParcel2.readException();
					return;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
				throw localObject;
			}

			public void enableMyLocation() throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					this.mRemote.transact(10, localParcel1, localParcel2, 0);
					localParcel2.readException();
					return;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
				throw localObject;
			}

			public String getInterfaceDescriptor() {
				return "com.htc.android.footprints.ILocationAgentService";
			}

			public boolean isTimeout() throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					this.mRemote.transact(2, localParcel1, localParcel2, 0);
					localParcel2.readException();
					int i = localParcel2.readInt();
					if (i != 0) {
						j = 1;
						return j;
					}
					int j = 0;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
			}

			public boolean isTracking() throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					this.mRemote.transact(1, localParcel1, localParcel2, 0);
					localParcel2.readException();
					int i = localParcel2.readInt();
					if (i != 0) {
						j = 1;
						return j;
					}
					int j = 0;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
			}

			public void registerCallback(
					ILocationAgentCallback paramILocationAgentCallback)
					throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					if (paramILocationAgentCallback != null) {
						localIBinder = paramILocationAgentCallback.asBinder();
						localParcel1.writeStrongBinder(localIBinder);
						this.mRemote
								.transact(12, localParcel1, localParcel2, 0);
						localParcel2.readException();
						return;
					}
					IBinder localIBinder = null;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
			}

			public boolean removeCallback(
					ILocationAgentCallback paramILocationAgentCallback)
					throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					if (paramILocationAgentCallback != null)
						;
					for (IBinder localIBinder = paramILocationAgentCallback
							.asBinder();; localIBinder = null) {
						localParcel1.writeStrongBinder(localIBinder);
						this.mRemote
								.transact(13, localParcel1, localParcel2, 0);
						localParcel2.readException();
						int i = localParcel2.readInt();
						if (i == 0)
							break;
						j = 1;
						return j;
					}
					int j = 0;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
			}

			public void resume() throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					this.mRemote.transact(7, localParcel1, localParcel2, 0);
					localParcel2.readException();
					return;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
				throw localObject;
			}

			public void setTimeout(long paramLong) throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					localParcel1.writeLong(paramLong);
					this.mRemote.transact(11, localParcel1, localParcel2, 0);
					localParcel2.readException();
					return;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
				throw localObject;
			}

			public void setTimeoutNotify(boolean paramBoolean)
					throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					if (paramBoolean) {
						i = 1;
						localParcel1.writeInt(i);
						this.mRemote.transact(3, localParcel1, localParcel2, 0);
						localParcel2.readException();
						return;
					}
					int i = 0;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
			}

			public void shutdownAgent() throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					this.mRemote.transact(8, localParcel1, localParcel2, 0);
					localParcel2.readException();
					return;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
				throw localObject;
			}

			public void stopTracking() throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					this.mRemote.transact(5, localParcel1, localParcel2, 0);
					localParcel2.readException();
					return;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
				throw localObject;
			}

			public void stopTrackingWithoutNotify() throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					this.mRemote.transact(4, localParcel1, localParcel2, 0);
					localParcel2.readException();
					return;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
				throw localObject;
			}

			public void waitForPause() throws RemoteException {
				Parcel localParcel1 = Parcel.obtain();
				Parcel localParcel2 = Parcel.obtain();
				try {
					localParcel1
							.writeInterfaceToken("com.htc.android.footprints.ILocationAgentService");
					this.mRemote.transact(6, localParcel1, localParcel2, 0);
					localParcel2.readException();
					return;
				} finally {
					localParcel2.recycle();
					localParcel1.recycle();
				}
				throw localObject;
			}
		}
	}
}

/*
 * Location:
 * E:\workspace\dex2java\dex-translator-0.0.9.3\HtcFootprints_dex2jar.jar
 * Qualified Name: com.htc.android.footprints.ILocationAgentService JD-Core
 * Version: 0.6.0
 */